<div class="form-horizontal row searchLineWrap">
	<form id="changeadvisor" name="changeadvisor" action="${cxt!}/reviewUser/changePartnerApplicantList" method="post">
		<div class="col-md-12">
			<div class="row">
			<div class="col-md-5">
				<div class="form-group">
		 			<label  class="col-md-3 control-label">${_res["user.review.applicationname"]}:</label>
		         	<div class="col-md-9">
	            		<input type="text" class="form-control" name="customer.l_username" placeholder="${_res['user.review.applicationname']}" value="${paramMap['customer.l_username']}"/>
		         	</div>
		       	</div>
			</div>
			<div class="col-md-5">
				<div class="form-group">
		 			<label  class="col-md-3 control-label">${_res["system.startdate"]}:</label>
		         	<div class="col-md-9">
	            		<input type="text"  class="form-control layer-date laydate-icon" onclick="laydate()" name="applicantForm.gt_applicateDate"  placeholder="${_res['system.startdate']}" value="${paramMap['applicantForm.gt_applicateDate']}"/>
		         	</div>
		       	</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-5">
				<div class="form-group">
		 			<label  class="col-md-3 control-label">${_res["customer.authenticationstatus"]}:</label>
		         	<div class="col-md-9">
	            		<#dict type="select"  name="applicantForm.f_status"  dictCode="REVIEW_STATUS" defaultValue="${paramMap['applicantForm.f_status']}"/>
		         	</div>
		       	</div>
			</div>
			
			<div class="col-md-5">
				<div class="form-group">
		 			<label  class="col-md-3 control-label">${_res["system.enddate"]}:</label>
		         	<div class="col-md-9">
	            		<input type="text"  class="form-control layer-date laydate-icon" onclick="laydate()" name="applicantForm.le_applicateDate"   placeholder="${_res['system.enddate']}" value="${paramMap['applicantForm.le_applicateDate']}"/>
		         	</div>
		       	</div>
			</div>
			<div class="col-md-2">
				<div class="form-group">
				<label  class="col-md-3 control-label"></label>
		         	<div class="col-md-9">
	          			<button type="button" class="btn btn-primary pull-lift" onclick="ajaxForm('content','changeadvisor')">
				          	<i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}
				    	</button>
		         	</div>
				 </div>
			</div>		
		</div>
	</div>
</form>
</div>
<div class="row border-bottom white-bg page-heading ibox-content" id="listDiv">
	<table class="table table-bordered table-hover" id="list-table">
		<thead>
			<tr>
				<th>${_res["user.review.username"]}</th>
				<th>${_res["user.review.countryandcity"]}</th>
				<th>${_res["user.review.applicantdate"]}</th>
				<th>${_res["user.review.originaladvisor"]}</th>
				<th>${_res["user.review.changeadvisor"]}</th>
				<th>${_res["user.review.changereason"]}</th>
				<th>${_res["user.review.status"]}</th>
				<th>${_res["user.review.processor"]}</th>
			</tr>
		</thead>
		<tbody>
			<% for(record in splitPage.list){ %>
			<tr>
				<td style="background-color: rgb(255, 255, 255);">${record.showname!}</td>
				<td style="background-color: rgb(255, 255, 255);"><#dict type="lable" table="country_region" filedName="name" filedValue="id" value="${record.customer_country!}" />/${record.state!}</td>
				<td style="background-color: rgb(255, 255, 255);">${record.applicateDate!,dateFormat="yyyy-MM-dd HH:mm"}</td>
				<td style="background-color: rgb(255, 255, 255);">${record.originalConsultantName!}</td>
				<td style="background-color: rgb(255, 255, 255);">${record.changeConsultantName!}</td>
				<td style="background-color: rgb(255, 255, 255);">${record.changeReason}</td>
				<td style="background-color: rgb(255, 255, 255);"><#dict type="lable"  value="${record.status!}"  dictCode="REVIEW_STATUS" /></td>
				<td style="background-color: rgb(255, 255, 255);">
					<% if(hasPrivilegeUrl("getChangePartnerReviewDetail")){ %>
						<a title="view" href="javascript:void(0)" onClick="ajaxContent('/reviewUser/getChangePartnerReviewDetail?id=${record.id!}/toUrl?toUrl=/realty/review/userReviewDetail.html');" >${_res["user.review.review"]}</a>&nbsp;&nbsp; 
					<% }if(record.status! == "P"){
					       if(hasPrivilegeUrl("preAdvisorCheck")){ %>
						      <a title="review" href="javascript:void(0)" onClick="ajaxContent('/reviewUser/preAdvisorCheck?id=${record.customer_id!}&applicantId=${record.id!}/toUrl?toUrl=/realty/review/changAdvisorReview.html');">${_res["user.review.check"]}</a>&nbsp;&nbsp;
					 	<% } 
				    } %>
				</td>
			</tr>
			<% } %>
		</tbody>
	</table>
	<div id="splitPageDiv">
	<#page formId="changeadvisor"/>
	</div>
	<#nav/>
</div>